home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-13
/
3_qtips.zip
/
TECH14.MSG
< prev
next >
Wrap
Text File
|
1992-10-28
|
2KB
|
38 lines
A QEdit Tip from the SemWare Technical Support Staff
.. Replacing a CR with a CR/LF ..
Have you ever loaded a file and gotten the message "long line
splits"? Have you ever had a database file that just had a
carriage return at the end of line of text? We have developed a
small macro that allows you to replace a visible carriage return
(CR) with a carriage return/line feed (CR/LF).
The DOS standard specifies that a CR/LF be appended to each line
of text in an ASCII text file. Some databases, as well as the
Macintosh, only use carriage returns at the end of their lines
of text in files. The following macro can be used when you see
the carriage return (it will appear as a musical note) in your
text. The macro will replace the carriage return (ASCII 13) with
a carriage return/line feed (ASCII 13/10).
<key> MacroBegin SetScreenOff Find #13 Return 'i' Return top:
Delch SplitLine CursorDown JoinLine BegLine RepeatFind
JTrue top
NOTE: <key> is the key to which you should tie this macro. In
addition, the macro must all be on one line in your
QCONFIG.DAT file. Once you have added the macro to your
keyboard, run QCONFIG.EXE to install the changes. To use
QCONFIG.EXE, run it, press return to accept Q.EXE, press K
for keys, press return to accept QCONFIG.DAT, then press S
to save your changes.
Matthew Giles (SemWare Technical Support)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Did you miss some of the previous Tips? Don't worry, you can
download QEdit Tips 1-14 (Filename: ALLQTIPS.ZIP) on the SemWare
Support BBS (404-641-8968).